package com.qumap.server.filter;

import com.qumap.item.content.ObjectOnMapShort;

import java.util.Comparator;

/**
 * Created by IntelliJ IDEA.
 * User: sanya
 * Date: 6/15/11
 * Time: 8:30 PM
 * To change this template use File | Settings | File Templates.
 */
public class TestFilterObjectComparator implements Comparator<ObjectOnMapShort> {

    @Override
    public int compare(ObjectOnMapShort o1, ObjectOnMapShort o2) {
        return o1.getId()-o2.getId();
    }
}
